package fr.norsys.mapper.console.mapping;

import java.util.Vector;

import fr.norsys.mapper.console.model.BaseObject;

public class MapperConfig extends BaseObject {
	private static final long serialVersionUID = -6927437627989756735L;
	private String xmlns = "http://norsys.fr/framework-ldap/configuration.dtd";
	private Vector variables = new Vector();
	private JNDIMapper jndiMapper = new JNDIMapper();
	private SubConfig subConfig = new SubConfig();
	
	public SubConfig getSubConfig() {
		return subConfig;
	}
	public void setSubConfig(SubConfig subConfig) {
		this.subConfig = subConfig;
	}
	public JNDIMapper getJndiMapper() {
		return jndiMapper;
	}
	public void setJndiMapper(JNDIMapper jndiMapper) {
		this.jndiMapper = jndiMapper;
	}
	public void addVariable(Variable var) {
		variables.add(var);
	}
	public Vector getVariables() {
		return variables;
	}
	public void setVariables(Vector variables) {
		this.variables = variables;
	}
	public String getXmlns() {
		return xmlns;
	}
	public void setXmlns(String xmlns) {
		this.xmlns = xmlns;
	}
}
